
import { constantRoutes } from '@/router/index'
export default {
  namespaced: true,
  state: {
    routerList: [] // 储存动态路由
  },
  mutations: {
    getRouterList(state, filterRouter) {
      state.routerList = [...constantRoutes, ...filterRouter]
    }
  }

}

